package com.itheima.Jiuye04;

public class Test {
    public static void main(String[] args) {
        InfoTest a = new InfoTest(){

             @Override
             public void run() {
                 System.out.println("内部类");
             }

             @Override
             public void eat() {
                 System.out.println("内部类-------吃方法");
             }
         };
        a.run();
        a.eat();
    }
}




